# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='City',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('city_name', models.CharField(blank=True, verbose_name='城市名称', null=True, max_length=50)),
                ('city_code', models.CharField(blank=True, verbose_name='城市代码', null=True, max_length=50)),
                ('state_name', models.CharField(verbose_name='周名称', max_length=50)),
                ('state_code', models.CharField(verbose_name='城市代码', max_length=50)),
                ('area_name', models.CharField(blank=True, verbose_name='地区名称', null=True, max_length=50)),
                ('category', models.CharField(default='S', verbose_name='级别', choices=[('S', '州'), ('C', '市'), ('A', '区')], max_length=1)),
                ('parent', models.ForeignKey(to='basedata.City', null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Feature',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('name', models.CharField(verbose_name='特色名称', max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='Fitting',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('name', models.CharField(verbose_name='配件设施', max_length=50)),
            ],
        ),
    ]
